Grokking System Design Fundamentals
Rate this course
Ask Author
Contribute
Back to course home

44% completed

Vote For New Content
System Design Fundamentals
Introduction to System Design
Load Balancing
Introduction to Load Balancing
Load Balancing Algorithms
Uses of Load Balancing
Load Balancer Types
Stateless vs. Stateful Load Balancing
High Availability and Fault Tolerance
Scalability and Performance
Challenges of Load Balancers
API Gateway
Introduction to API Gateway
Usage of API gateway
Advantages and disadvantages of using API gateway
Key Characteristics of Distributed Systems
Scalability
Availability
Latency and Performance
Concurrency and Coordination
Monitoring and Observability
Resilience and Error Handling
Fault Tolerance vs. High Availability
Network Essentials
HTTP vs. HTTPS
TCP vs. UDP
HTTP: 1.0 vs. 1.1 vs 2.0 vs. 3.0
URL vs. URI vs. URN
Domain Name System (DNS)
Introduction to DNS
DNS Resolution Process
DNS Load Balancing and High Availability
Caching
Introduction to Caching
Why is Caching Important?
Types of Caching
Cache Replacement Policies
Cache Invalidation
Cache Read Strategies
Cache Coherence and Consistency Models
Caching Challenges
Cache Performance Metrics
CDN
What is CDN?
Origin Server vs. Edge Server
CDN Architecture
Push CDN vs. Pull CDN
Data Partitioning
Introduction to Data Partitioning
Partitioning Methods
Data Sharding Techniques
Benefits of Data Partitioning
Common Problems Associated with Data Partitioning
Proxies
What is a Proxy Server?
Uses of Proxies
VPN vs. Proxy Server
What is Redundancy?
What is Replication?
Replication Methods
Data Backup vs. Disaster Recovery
Introduction to CAP Theorem
Components of CAP Theorem
Trade-offs in CAP Theorem
Examples of CAP Theorem in Practice
Beyond CAP Theorem
System Design Trade-offs in Interviews
Introduction to Databases
SQL Databases
NoSQL Databases
SQL vs. NoSQL
ACID vs BASE Properties
Real-World Examples and Case Studies
SQL Normalization and Denormalization
In-Memory Database vs. On-Disk Database
Data Replication vs. Data Mirroring
Database Federation
What are Indexes?
Types of Indexes
Introduction to Bloom Filters
Benefits & Limitations of Bloom Filters
Variants and Extensions of Bloom Filters
Applications of Bloom Filters
Difference Between Long-Polling, WebSockets, and Server-Sent Events
What is Quorum?
What is Heartbeat?
What is Checksum?
Uses of Checksum
What is Leader and Follower Pattern?
What is Security and Privacy?
What is Authentication?
What is Authorization?
Authentication vs. Authorization
OAuth vs. JWT for Authentication
What is Encryption?
What are DDoS Attacks?
Introduction to Messaging System
Introduction to Kafka
Messaging patterns
Popular Messaging Queue Systems
RabbitMQ vs. Kafka vs. ActiveMQ
Scalability and Performance
What is a Distributed File System?
Architecture of a Distributed File System
Key Components of a DFS
Batch Processing vs. Stream Processing
XML vs. JSON
Synchronous vs. Asynchronous Communication
Push vs. Pull Notification Systems
Microservices vs. Serverless Architecture
Message Queues vs. Service Bus
Stateful vs. Stateless Architecture
Event-Driven vs. Polling Architecture
Quiz
VPN vs. Proxy Server

VPN (Virtual Private Network) and Proxy Servers are both tools used for privacy and security online, but they function differently and serve distinct purposes. Understanding their differences is essential in determining which one to use based on your needs.

VPN (Virtual Private Network)

Definition

  • A VPN creates a secure, encrypted tunnel between your device and a remote server operated by the VPN service. All your internet traffic is routed through this tunnel, meaning that your data is secure from external observation.

Characteristics

  • Encryption: Offers end-to-end encryption for all data transmitted.
  • Traffic Routing: Routes all internet traffic through the VPN server.
  • IP Masking: Hides your IP address and makes it appear as if your traffic is coming from the VPN server’s location.
  • Security and Privacy: Provides a high level of security and privacy.

Use Cases

  • Securing data while using public Wi-Fi networks.
  • Bypassing geographical restrictions and censorship.
  • Protecting sensitive transactions (like online banking).

Example

  • Using a VPN service while connecting to a public Wi-Fi network at a coffee shop to securely access your personal and work accounts.

Proxy Server

Definition

  • A Proxy Server acts as an intermediary between your device and the internet. It receives your requests, forwards them to the internet, and then relays the response back to you.

Characteristics

  • IP Masking: Hides your IP address, making it appear as if the requests are coming from the proxy’s location.
  • Limited Scope: Usually, only browser traffic or traffic from specific applications is rerouted.
  • No Encryption: Does not inherently encrypt data (except for secure proxy servers like HTTPS proxies).
  • Caching: Some proxies cache data, which can speed up subsequent requests to the same sites.

Key Differences

  1. Encryption:

    • VPN: Encrypts all data between your device and the VPN server.
    • Proxy Server: Does not encrypt data (unless it’s a special type of proxy like an HTTPS proxy).
  2. Traffic Routing:

    • VPN: Reroutes and encrypts all internet traffic from your device.
    • Proxy Server: Only reroutes traffic from your browser or specific apps, not necessarily encrypting it.
  3. Privacy and Security:

    • VPN: Offers more privacy and security due to encryption and comprehensive traffic routing.
    • Proxy Server: Provides IP masking but limited security features.
  4. Performance:

    • VPN: Can be slower due to encryption overhead.
    • Proxy Server: Usually faster than VPN as there’s no encryption, but can be slower if many users access the same proxy.
  5. Use Case Suitability:

    • VPN: Suitable for users concerned with privacy and security, especially when using public Wi-Fi networks.
    • Proxy Server: Good for bypassing content restrictions or simple IP masking without the need for encryption.

Conclusion

The choice between a VPN and a proxy server depends on your specific needs. If you prioritize privacy and security, especially when handling sensitive data, a VPN is the better choice. If you simply need to bypass geo-restrictions or internet filters for browsing purposes, a proxy server might suffice. For the best security, a VPN is recommended due to its encryption capabilities and comprehensive coverage of all internet traffic.

Uses of Proxies
What is Redundancy?
Mark as Completed

On this page

VPN (Virtual Private Network)

Definition

Characteristics

Use Cases

Example

Proxy Server

Definition

Characteristics

Key Differences

Conclusion